import { Plugin, WebMiddleware, ConsoleMiddleware } from './Plugin';

export class PluginAction extends Plugin<Plugin.All> {
  constructor(fn: WebMiddleware<any, any> | ConsoleMiddleware<any, any>) {
    super();
    this.use(fn);
  }
}
